﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Admin/TemplateAdmin.Master" AutoEventWireup="true" CodeBehind="insertpolicy.aspx.cs" Inherits="ProjectSem3.Admin.WebForm10" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
<script language="javascript" type="text/javascript">
    $(document).ready(function () {
        $('#form1').validate({
            rules: {
                <%=txtpolicyname.UniqueID %>: {
                    required: true
                },
                <%=txtpolicydesc.UniqueID %>: {
                    required: true
                },
                <%=txtamount.UniqueID %>: {
                    min: 5,
                    number: true,
                    required: true
                },
                <%=txtemi.UniqueID %>: {
                    min: 1,
                    max: 5,
                    number: true,
                    required: true
                },
                <%=txtPolicyDuration.UniqueID %>: {
                    min: 1,
                    required: true
                },
            }
        });
    });
</script>
<div class="portlet ui-widget ui-widget-content ui-helper-clearfix ui-corner-all form-container">
							<div class="portlet-header ui-widget-header">
                            <span class="ui-icon ui-icon-circle-arrow-s"></span><a href="Policy.aspx" style="color:#FFF;">Policy Manager <<< </a></div>
							<div class="portlet-content">
									<ul style="margin:0 0 0 250px;">
                                        <li>
                                            <asp:Label ID="Label5" runat="server" Text="Policy Name"></asp:Label>
											<div>
												<input runat="server" id="txtpolicyname" type="text" tabindex="1" maxlength="255" value="" class="field text small" style="margin-left:42px;" />
											</div>
										</li>
                                        <li>
                                            <asp:Label ID="Label6" runat="server" Text="Policy Description"></asp:Label>
											<div>
												<input runat="server" id="txtpolicydesc" type="text" tabindex="1" maxlength="255" value="" class="field text small" style="margin-left:15px;" />
											</div>
										</li>
										<li>
                                            <asp:Label ID="Label1" runat="server" Text="Amount"></asp:Label>
											<div>
												<input runat="server" id="txtamount" type="text" tabindex="1" maxlength="255" value="" class="field text small" style="margin-left:68px;" />
											</div>
                                            
										</li>
										<li>
                                            <asp:Label ID="Label2" runat="server" Text="EMI"></asp:Label>
											<div>
												<input runat="server" id="txtemi" type="text" tabindex="1" maxlength="255" value="" class="field text small" style="margin-left:88px;" />												
											</div>
                                            
										</li>
                                        <li>
                                            <asp:Label ID="Label3" runat="server" Text="Hospital Name"></asp:Label>
                                            <div>
                                                <asp:DropDownList ID="DropDownList1" runat="server" style="margin-left:32px; width:155px; height:22px;" >
                                                </asp:DropDownList>
                                            </div>
                                        </li>
                                        <li>
                                            <asp:Label ID="Label4" runat="server" Text="Policy Duration"></asp:Label>
                                            <div>
                                                <input runat="server" id="txtPolicyDuration" type="text" tabindex="1" maxlength="255" value="" class="field text small" style="margin-left:30px;" />(Month)
                                            </div>
                                        </li>
                                        <li>
                                            <asp:Label ID="Labelkq" runat="server" Text="" style="margin-left:100px; color:Red;"></asp:Label>
                                        </li>	
										<li class="buttons">
                                            <asp:Button ID="ButtonInsert" runat="server" Text="Insert" 
                                                style="margin-left:100px;" onclick="ButtonInsert_Click" />
										</li>
									</ul>
							</div>
		</div>
</asp:Content>
